package com.udhtu.ii.lab1;

/**
 * вычисляемая функция
 */
public class Function {
    public static final double EPSILON = 1e-4;
    public static final double LEFT = 0;
    public static final double RIGHT = 8;
    public static final int MIN = 1;
    public static final int MAX = -1;

    public static double function(double x) {
        return Math.pow(x,2) - Math.log(x + 1);
    }
}
